package com.coderman.domainservice.member.infrast.gatawayimpl;

import com.coderman.domainservice.member.domain.gataway.UserService;
import com.coderman.domainservice.member.domain.model.user.entity.FriendBO;
import com.coderman.domainservice.member.infrast.mapper.dao.FriendMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description:
 * date: 2021/3/31
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 * 用户服务
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private FriendMapper friendMapper;
    @Override

    public void newFriends(FriendBO friendBO) {
        //1.更新数据库
        //friendMapper.insert()
        //2.更新统计缓存
        //3.给被关注人发送关注通知消息
    }
}
